<?php
namespace app\common\config\model;


use think\Model;
use think\model\concern\SoftDelete;

class ConfigStatus extends Model
{
    use SoftDelete;
    protected $defaultSoftDelete = 0;

    protected $type = [
        'fast' => 'json'
    ];

    public function getFastAttr($value) {
        return empty($value) ? [] : json_decode($value);
    }
}